package com.ruoyi.piliangfahuo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 批量发货对象 batch_delivery
 * 
 * @author ruoyi
 * @date 2025-09-11
 */
public class BatchDelivery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发货记录ID，自增 */
    private Long deliveryId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long goodsQuantity;

    /** 发货数量 */
    @Excel(name = "发货数量")
    private Long deliveryQuantity;

    /** 物流公司 */
    @Excel(name = "物流公司")
    private String logisticsCompany;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String trackingNumber;

    /** 发货状态（0-未发货，1-已发货） */
    @Excel(name = "发货状态", readConverterExp = "0=-未发货，1-已发货")
    private Long deliveryStatus;

    public void setDeliveryId(Long deliveryId) 
    {
        this.deliveryId = deliveryId;
    }

    public Long getDeliveryId() 
    {
        return deliveryId;
    }

    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }

    public void setGoodsQuantity(Long goodsQuantity) 
    {
        this.goodsQuantity = goodsQuantity;
    }

    public Long getGoodsQuantity() 
    {
        return goodsQuantity;
    }

    public void setDeliveryQuantity(Long deliveryQuantity) 
    {
        this.deliveryQuantity = deliveryQuantity;
    }

    public Long getDeliveryQuantity() 
    {
        return deliveryQuantity;
    }

    public void setLogisticsCompany(String logisticsCompany) 
    {
        this.logisticsCompany = logisticsCompany;
    }

    public String getLogisticsCompany() 
    {
        return logisticsCompany;
    }

    public void setTrackingNumber(String trackingNumber) 
    {
        this.trackingNumber = trackingNumber;
    }

    public String getTrackingNumber() 
    {
        return trackingNumber;
    }

    public void setDeliveryStatus(Long deliveryStatus) 
    {
        this.deliveryStatus = deliveryStatus;
    }

    public Long getDeliveryStatus() 
    {
        return deliveryStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deliveryId", getDeliveryId())
            .append("orderNumber", getOrderNumber())
            .append("goodsQuantity", getGoodsQuantity())
            .append("deliveryQuantity", getDeliveryQuantity())
            .append("logisticsCompany", getLogisticsCompany())
            .append("trackingNumber", getTrackingNumber())
            .append("deliveryStatus", getDeliveryStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
